package as.service;

import java.util.List;

import as.entity.Device;
import as.exception.ValidateException;

public interface DeviceService {
	public List<Device> list();
	public boolean modify(Device device) throws ValidateException;
	public boolean delete(int id);
	public boolean add (Device device) throws ValidateException;
    public Device get(int id);
}
